# -*- coding: utf-8; mode: snippet -*-
# name: console.log/alert object properties
# key: lo
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
(function(obj){var m=''; for (var k in obj) {if (obj.hasOwnProperty(k)) { m += k+ ':'+obj[k]+'\n';} } ${1:alert}(m);})(${2:obj});
